﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <title>Index</title>
             <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PageCommon.js", true)" type="text/javascript"></script>
      <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/date.format.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Fckeditor/fckeditor.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>
    
   @Html.DevExpress().GetStyleSheets(
        new StyleSheet { ExtensionType = ExtensionType.ListBox }
    )
    @Html.DevExpress().GetScripts(
         new Script { ExtensionType = ExtensionType.ListBox }
    )

    <style>
    span{
    font-weight:blod;
}
    </style>
</head>
<script type="text/javascript">
    if (top.boardtop) top.boardtop.head_txt.innerText = "人员去向统计";

</script>


<body style=" font-size:12px;">
@using (Html.BeginForm("Save", "LeaveStatistics", FormMethod.Post, new { id = "form1" }))
{
<div>
<table width="75%" align="center">
  <tr> 
    <td align="right" > 

       请选择相应部门以及时间点击查询按钮进行查询： 
       </td>
       <td  align="left" >
     @Html.DevExpress().ComboBox(settings =>
{
    settings.Name = "dw";
    settings.Properties.TextField = "Text";
    settings.Properties.ValueField = "Value";
    settings.Properties.DropDownStyle = DropDownStyle.DropDownList;
}).BindList(ViewData["dw"]).GetHtml()
  </td>
       <td  align="left" >
     @Html.DevExpress().ComboBox(settings =>
{
    settings.Name = "yyyy";
    settings.Properties.TextField = "Text";
    settings.Properties.ValueField = "Value";
    settings.Properties.DropDownStyle = DropDownStyle.DropDownList;
}).BindList(ViewData["yyyy"]).GetHtml()
  </td>
       <td  align="left" >
     @Html.DevExpress().ComboBox(settings =>
{
    settings.Name = "mm";
    settings.Properties.TextField = "Text";
    settings.Properties.ValueField = "Value";
    settings.Properties.DropDownStyle = DropDownStyle.DropDownList;
}).BindList(ViewData["mm"]).GetHtml()
           </td>
       <td  align="left" >
          <input type="submit" value="查询" name="submit">

    </td>
  </tr>
</table>
</div>

    <div>
    <table width='99%' border='0' align='center' cellspacing='0' bordercolordark='#ffffff' bordercolorlight='#000000' cellpadding='4'>
        <tr>
         <td align=center>
          @ViewData["year"] 年 @ViewData["month"]  月 人员外出情况
    </td>
    </tr>

    <tr>

     <td align=center>
         @Html.Raw(ViewData["htmlstr"].ToString())
    </td>
    </tr>
    <tr>
         <td align=center>
     说明：“◎”表示正常假日，“<span style='font-size:22px'>○</span>”表示无请假或外出，“<strong>*</strong>”代表当日有人员外出情况，◆请假一整天，▲请假半天，把鼠标移到非正常出勤标记下会显示具体原因。当日情况由于考勤没有完成故不作准。
    </td>
    </tr>

    </table>
        
    </div>
}
</body>
</html>
